package org.example.course.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.commonapi.domain.CourseAssignments;
import org.example.commonapi.dto.AssignmentFinish;
import org.example.course.service.CourseAssignmentsService;
import org.example.commonapi.mapper.CourseAssignmentsMapper;
import org.springframework.stereotype.Service;
import org.springframework.test.annotation.Repeat;

import javax.annotation.Resource;
import java.util.List;

/**
* @author DELL
* @description 针对表【course_assignments(课程作业)】的数据库操作Service实现
* @createDate 2024-06-23 12:31:16
*/
@Service
public class CourseAssignmentsServiceImpl extends ServiceImpl<CourseAssignmentsMapper, CourseAssignments>
    implements CourseAssignmentsService{

    @Resource
    CourseAssignmentsMapper courseAssignmentsMapper;

    @Override
    public List<AssignmentFinish> listAssignmentDetail(Long courseId) {
        return courseAssignmentsMapper.listAssignmentDetail(courseId);
    }
}




